Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset test status on success and set the exception on abort #36356

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Oct 9, 2023

Fixes #36250

@gsmet gsmet force-pushed the reset-test-status branch from 3dd9329 to 38461d0 Compare October 25, 2023 14:35
@gsmet gsmet marked this pull request as ready for review October 25, 2023 14:35
@gsmet gsmet requested a review from geoand October 25, 2023 14:35
Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable!

@quarkus-bot
Copy link

quarkus-bot bot commented Oct 25, 2023

Failing Jobs - Building 38461d0

Status Name Step Failures Logs Raw logs Build scan
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 17 Windows Build Failures Logs Raw logs
JVM Tests - JDK 21 Build Failures Logs Raw logs
Native Tests - Data7 Build Failures Logs Raw logs
Native Tests - Main Build Failures Logs Raw logs
Native Tests - Messaging1 Build Failures Logs Raw logs
Native Tests - Misc4 Build Failures Logs Raw logs
Native Tests - Security1 Build Failures Logs Raw logs
Native Tests - Security2 Build ⚠️ Check → Logs Raw logs
Native Tests - Security3 Build Failures Logs Raw logs
Native Tests - Spring Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

⚙️ JVM Tests - JDK 11 #

- Failing: integration-tests/main 

📦 integration-tests/main

io.quarkus.it.main.QuarkusTestCallbacksTestCase.testCallbackContextIsFailed line 114 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

⚙️ JVM Tests - JDK 17 #

- Failing: integration-tests/main 

📦 integration-tests/main

io.quarkus.it.main.QuarkusTestCallbacksTestCase.testCallbackContextIsFailed line 114 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

⚙️ JVM Tests - JDK 17 Windows #

- Failing: extensions/vertx-http/deployment integration-tests/main 
! Skipped: extensions/oidc-client-filter/deployment extensions/oidc-client-graphql/deployment extensions/oidc-client-reactive-filter/deployment and 21 more

📦 extensions/vertx-http/deployment

io.quarkus.vertx.http.proxy.TrustedForwarderProxyFailureTest.testHeadersAreIgnored line 29 - More details - Source on GitHub

java.net.SocketTimeoutException: Read timed out
	at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288)
	at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)

io.quarkus.vertx.http.proxy.TrustedXForwarderProxiesUnknownHostnameFailureTest.testHeadersAreIgnored line 17 - More details - Source on GitHub

java.net.SocketTimeoutException: Read timed out
	at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288)
	at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)

📦 integration-tests/main

io.quarkus.it.main.QuarkusTestCallbacksTestCase.testCallbackContextIsFailed line 114 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

⚙️ JVM Tests - JDK 21 #

- Failing: integration-tests/main 

📦 integration-tests/main

io.quarkus.it.main.QuarkusTestCallbacksTestCase.testCallbackContextIsFailed line 114 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

⚙️ Native Tests - Data7 #

- Failing: integration-tests/reactive-db2-client 

📦 integration-tests/reactive-db2-client

io.quarkus.it.reactive.db2.client.NativeQueryIT.testListAllFruits - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <200> but was <500>.

⚙️ Native Tests - Main #

- Failing: integration-tests/main 

📦 integration-tests/main

io.quarkus.it.main.ConfigPropertiesITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.ContextPropagationITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.CustomConfigSourceITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.DataSourceTransactionITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.DatasourceITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.ExternalIndexITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.FaultToleranceITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.HealthITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.JPABootstrapITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.JPAUserTypeITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.JaxRSITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.JaxRsConstructorPropertiesITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.JaxbITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.MicroProfileConfigITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.OpenApiITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.ProfileManagerITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.QuarkusTestCallbacksITCase.testCallbackContextIsFailed line 69 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

io.quarkus.it.main.RBACAccessInGraalITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.ReactiveStreamsOperatorsITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.ReflectiveBeanITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.RemovedResourceITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.RequestScopeITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.ResourcesITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.RestClientITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.SchedulerITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.SchedulerITCase.testCount - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at io.quarkus.it.main.SchedulerTestCase.testCount(SchedulerTestCase.java:22)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)

io.quarkus.it.main.ServletITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.SimpleBeanITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.SwaggerUIITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.TransactionITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.ValidatorITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

io.quarkus.it.main.WebsocketITCase. - More details - Source on GitHub

java.lang.NullPointerException
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.createQuarkusTestMethodContext(QuarkusIntegrationTestExtension.java:389)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.afterAll(QuarkusIntegrationTestExtension.java:137)

⚙️ Native Tests - Messaging1 #

- Failing: integration-tests/kafka integration-tests/kafka-snappy 

📦 integration-tests/kafka

io.quarkus.it.kafka.KafkaConsumerITCase.metrics - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

io.quarkus.it.kafka.KafkaProducerITCase.metrics - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

📦 integration-tests/kafka-snappy

io.quarkus.it.kafka.KafkaSnappyConsumerITCase.metrics - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

io.quarkus.it.kafka.KafkaSnappyProducerITCase.metrics - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

⚙️ Native Tests - Misc4 #

- Failing: integration-tests/micrometer-mp-metrics integration-tests/micrometer-prometheus 

📦 integration-tests/micrometer-mp-metrics

io.quarkus.it.micrometer.mpmetrics.MPMetricsIT.validateJsonOutput - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path 'io.quarkus.it.micrometer.mpmetrics.CountedInstance.countPrimes;scope=application' doesn't match.

io.quarkus.it.micrometer.mpmetrics.MPMetricsIT.validateMetricsOutput_1 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

io.quarkus.it.micrometer.mpmetrics.MPMetricsIT.validateMetricsOutput_2 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

📦 integration-tests/micrometer-prometheus

io.quarkus.it.micrometer.prometheus.PrometheusMetricsRegistryIT.testPrometheusScrapeEndpointOpenMetrics - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

io.quarkus.it.micrometer.prometheus.PrometheusMetricsRegistryIT.testPrometheusScrapeEndpointTextPlain - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

⚙️ Native Tests - Security1 #

- Failing: integration-tests/elytron-security-jdbc 

📦 integration-tests/elytron-security-jdbc

io.quarkus.elytron.security.jdbc.it.ElytronSecurityJdbcIT.authenticated - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <302> but was <500>.

io.quarkus.elytron.security.jdbc.it.ElytronSecurityJdbcIT.forbidden - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <302> but was <500>.

io.quarkus.elytron.security.jdbc.it.ElytronSecurityJdbcIT.notPermitted - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <302> but was <500>.

io.quarkus.elytron.security.jdbc.it.ElytronSecurityJdbcIT.permitted - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <302> but was <500>.

⚙️ Native Tests - Security3 #

- Failing: integration-tests/keycloak-authorization 

📦 integration-tests/keycloak-authorization

io.quarkus.it.keycloak.PolicyEnforcerInGraalITCase.testHttpResponseFromExternalServiceAsClaim - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.AssertionError: 1 expectation failed.
Expected status code <204> but was <404>.

⚙️ Native Tests - Spring #

- Failing: integration-tests/spring-data-jpa integration-tests/spring-web 

📦 integration-tests/spring-data-jpa

io.quarkus.it.spring.data.jpa.PostResourceIT.testDeletePostByOrganization - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <200> but was <500>.

📦 integration-tests/spring-web

io.quarkus.it.spring.web.SpringSchedulerIT.testCount - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at io.quarkus.it.spring.web.SpringSchedulerTest.testCount(SpringSchedulerTest.java:22)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)

@gsmet
Copy link
Member Author

gsmet commented Oct 26, 2023

Hmmm, CI apparently disagrees :).

@gsmet gsmet marked this pull request as draft October 26, 2023 13:14
@geoand
Copy link
Contributor

geoand commented Oct 26, 2023

What does it know?! 😅

@gsmet
Copy link
Member Author

gsmet commented Oct 26, 2023

Probably just a few flaky tests :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestStatus error usability
2 participants